package com.ruoyi.gp.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.gp.domain.Patient;
import com.ruoyi.gp.domain.vo.PatientVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author ruoyi
 * @date 2024-03-04
 */
public interface PatientMapper extends BaseMapperPlus<PatientMapper, Patient, PatientVo> {

    Page<Patient> queryByCount(@Param("page") Page<Patient> page, @Param(Constants.WRAPPER) Wrapper<Patient> queryWrapper);

    long queryByDoctorId(@Param("uid") long uid);

}
